home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
MindScape.swf
/
scripts
/
frame_1
/
PlaceObject2_203_31
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-12-04
|
389 b
|
16 lines
onClipEvent(enterFrame){
myPercentLoaded = int(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
_root.bytesLoaded = int(_root.getBytesLoaded());
_root.bytesTotal = int(_root.getBytesTotal());
if(myPercentLoaded == 100)
{
status = "loaded!";
ystep = (-50 - _Y) / 5;
_Y = _Y + ystep;
}
if(_Y <= 20)
{
_root.play();
}
}